package per.com.service;

import per.com.bean.Comment;
import per.com.common.ServerResponse;
import per.com.vo.CommentDetailVo;

/**
 * @author zxy
 */
public interface ICommentService {

    /**
     * 添加评论
     * @param comment
     * @return
     */
    ServerResponse<CommentDetailVo> addComment(Comment comment);

    /**
     * 查看一条评论
     * @param id
     * @return
     */
    ServerResponse<CommentDetailVo> selectComment(String id);
}
